# 当前模块描述

# 作者：liguang

# 开发时间 2023/11/16 21:37

class Animal:
    def speak(self):
        pass


def make_noise(animal: Animal):
    animal.speak()


class Cat(Animal):
    def speak(self):
        print("喵喵喵")


class Dog(Animal):
    def speak(self):
        print("汪汪汪")


cat: Cat = Cat()
dog: Dog = Dog()
cat.speak()
dog.speak()
